package com.offcn.service;

import com.offcn.bean.Btype;
import com.offcn.utils.OAResult;
import com.offcn.utils.PageView;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface BtypeService {
    List<Btype> getBigCategory();

    List<Btype> getSmallCategory(int typeid);

    OAResult saveBtype(Btype btype);

    OAResult saveBtypeSmall(Btype btype, HttpSession session);

    OAResult deleteBtype(int typeid);

    OAResult deleteBtypeBig(int typeid);

    Btype getBtypeById(int typeid);

    OAResult updateBtype(Btype btype);
}
